package com.ppmall.service;

import com.ppmall.pojo.Advert;

import java.util.List;

public interface IAdvertService {

    public List<Advert> getAllAdverts();

    public Advert getAdvertById(Integer id);

    public Integer updateAdvertById(Advert advert);

    public Integer deleteAdvertById(Integer id);

    public Integer addAdvert(Advert advert);

    public Integer deleteAllAdverts();

}